From: Keir Fraser Date: Thu, 20 Aug 2009 07:25:41 +0000 (+0100) Subject: xend: Fix error caused by VT-d ACS patch. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13450 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=89164e3f7b2db55ff239720a1deec8ad62ea2ab7;p=xen.git xend: Fix error caused by VT-d ACS patch. Signed-off-by: Allen Kay --- diff --git a/tools/python/xen/util/pci.py b/tools/python/xen/util/pci.py index 62bede17d4..db37597cd8 100644 --- a/tools/python/xen/util/pci.py +++ b/tools/python/xen/util/pci.py @@ -1003,7 +1003,7 @@ class PciDevice: if pos != 0: ctrl = self.pci_conf_read16(pos + PCI_EXT_ACS_CTRL) if (ctrl & PCI_EXT_CAP_ACS_ENABLED) == \ - PCI_EXT_CAP_ACS_ENABLED + (PCI_EXT_CAP_ACS_ENABLED): self.acs_enabled = True else: if pos != 0: